package com.zheng.wechat.mp.dao.model;

import java.io.Serializable;

public class WechatMpHuodongBizJwid implements Serializable {
    /**
     * ID
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 表名称
     *
     * @mbg.generated
     */
    private String tableName;

    /**
     * 表注释
     *
     * @mbg.generated
     */
    private String tableRemake;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableRemake() {
        return tableRemake;
    }

    public void setTableRemake(String tableRemake) {
        this.tableRemake = tableRemake;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", tableName=").append(tableName);
        sb.append(", tableRemake=").append(tableRemake);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        WechatMpHuodongBizJwid other = (WechatMpHuodongBizJwid) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getTableName() == null ? other.getTableName() == null : this.getTableName().equals(other.getTableName()))
            && (this.getTableRemake() == null ? other.getTableRemake() == null : this.getTableRemake().equals(other.getTableRemake()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getTableName() == null) ? 0 : getTableName().hashCode());
        result = prime * result + ((getTableRemake() == null) ? 0 : getTableRemake().hashCode());
        return result;
    }
}